﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_Treatment_Product
    {
        D_Treatment_Product dal = new D_Treatment_Product();
        public static B_Treatment_Product CreateInstance()
        {
            return new B_Treatment_Product();
        }
        public bool CreateOneTreatment_Product(Treatment_Product_Info Treatment_Product_Info)
        {

            return dal.CreateOneTreatment_Product(Treatment_Product_Info);
        }
        public bool EditOneTreatment_Product(Treatment_Product_Info Treatment_Product_Info)
        {

            return dal.EditOneTreatment_Product(Treatment_Product_Info);
        }
        public bool RemoveOneTreatment_Product(int DairyProductID, int MixTreatmentID)
        {

            return dal.RemoveOneTreatment_Product(DairyProductID, MixTreatmentID);
        }
        public DataTable GetAllTreatment_Product()
        {
            
            return dal.GetAllTreatment_Product();
        }
        public Treatment_Product_Info GetOneTreatment_Product(int DairyProductID)
        {
            
            return dal.GetOneTreatment_Product(DairyProductID);
        }
    }
}
